Calculation of missing angles