Modified the rotor2 CaM frame order test data optimisation script to optimise the pivot.
Print statements has been added for comparing the optimised to the original pivot. The rotation
axis is now also only created once, as it is now used in three places in the script, hence the two
functions for converting parameters to the new parameterisation have been updated.