Remove the matrix