Added MatrixSet class