get and set diagonal of coo_matrix, and related csgraph laplacian changes