finish MatrixEqual