Created circular arc axis, changed rotation code to work better with mat...

...rices.