Changed Temp Algorithm

Replaced temperature algorithm with a more accurate one. Some other
tweaks to humidity.