fixed mpi error in graph_laplacian writing datanum(minor)