Applying correction for the computation of the solar angle in the case of irregular grids (see #1048 and [8811] equivalent in ORCHIDEE-ICE branch).