Optics laws, sun angle calculations