Added unit test for centrality, formatted changes in setup.py and cleaned up network_centrality/utils.py