includes fix to bug the in temperature response of the Legendre transform