Fixed the internal temperature sensor calibration function.