[math-fun] Quaternion/vector algebra