MATH: Fix indentation and documentation for Vector3d and Quaternion.
MATH: Fix quaternion implementation and update users.