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