Changed angle representation to axis-angle format to help fix a number of issues and improve speed.