Fixed errors in principal axis rotation, updated documentation to reflect changes and included figures