Transpose routine implemented, Matrix3d class added