Calculation of Range and Angle