Useful input and output of quaternions
Clean up some old commented code