Update incidence_matrix to sparse