ENH : added bin edges -> bin centers function

 - convince function + test
 Used this function and worked well for finding the q bins centers