updated tempSensor formula for further testing