Modified quaternion mat3_cast for faster results

- Make method more cache coherent
- Reduce number of multiplications
Merge pull request #123 from dustin-biser/0.9.5

Modified quaternion mat3_cast for faster results