Added saving of JointOrientations