A Method for the Construction of a Thermodynamic Model for Gas Turbine Engine Condition Monitoring and Diagnosis