Text this: Quaternion calculus