Fixes and optimizations of two quaternion functions.

Change-Id: Ie5a3f16d49b716d91b6f68fa389473548cecb80d
1 file changed