Fixes to mat3.fromQuat and mat4.fromQuat