Sorry that I made some mistakes about the sparse matrix