Ported some of the angles-functionality to common lisp.