including fix to temperature response in Legendre transform