Tested wham for heat capacity and free energy. Works.