Added quaternion conversion.