Rotations and path expansion seem to be working.
Merge branch 'quaternion'
Improve output