Calculation of the angle of incidence.