Melting, Freezing, and Phase Transition Analysis