Update the temperature calibraion function using floating point math