Removed remaining pow(2,23), replaced with fixed long long value. Moved tempC calculation to the end of the routine.