For all motion primitive scripts and files, corrected rotate in place m...

...otions between last and first angles.