Updates to network centrality code