Some demo code to show off functionality
used this script to revert to raw data, I may delete it later
Added error message for input checking
titles are now customisable, some other axis tweaks
inconsequential comment delete
added function to get quaternion segements, other functions can now be passed graph titles when plotting