Angle measurements and calculation