Added quaternion renormalization