add a function to translate centrality bin to centrality cut parameters, not finish yet still need to test
some clean up for the translate centrality function