MATH: Add new quaternion capability and fix multiplication.