Cooling rate calculation