Made the units nicer looking.
Added units as a parameter.
Reformatted weather template code.
Added some input validation.