Self-loops are now removed in centrality()