Refactored az/al angle translation