Heating Matter and Changes in State