Thermal Expansion and Change in State of Matter