Made environment lighting pitch based instead of time based.
Grouped variables.
Added sun speed scalar (which can go negative!).
Added ambient light calculation to the environment light.