fixing/optimizing degree calculation
clean up of degree c code
revise centrality tests
Merge pull request #5 from FCP-INDI/centrality_updates

Centrality updates