Switched pow(2,23) to fixed long long value. Moved tempC calculation to end of routine.