Update sparse_matrix.c