how to calculate interior angles in surveying