Changed plot_degree_distribution