Added Matrix2D class