Sun zenith angle correction split into two functions.