Implemented Quaternion.FromMatrix

I needed a matrix-to-quaternion conversion for parsing a model format, so I implemented it here.

The APIs I added:

 - `Quaternion.FromMatrix()`
 - `Quaterniond.FromMatrix()`