Added a check to see the temperature does not go below 0 k because this is the lowest.