somehow cleaned up the `me.Matrix3d` implementation a bit, and added a basic test suite for it