Phase Definition In Thermodynamics