Destroy the matrix