Quaternions and Rotation Sequences: A Primer with Applications to Orbits, Aerospace and Virtual Reality