computing angle measures for varied gnddirection