ENH : added bin edges -> bin centers function

 - convince function + test