some tests; updated centrality functions
merge