Calculate Angle of Deviation