Updated Thermistor Code