Add sections on entropy, free energy, and thermodynamics