Quaternion fixes

I had a couple math definitions wrong