code cleanup

Two functions for temperature conversion are now inline.
The local var for temperature is initialized with kelvin before
conversion..
Temperature unit now is accessed vie function. Changed a comment.