Adding an add_index function
Centrality needs to be abs