Relabled variable elev to zenith. No effect on the result, just a missleading variable name.