Added some getters to matrix3d and matrix3f.