State of Matter and Internal Energy