ENH : added bin edges -> bin centers function

 - convince function + test
ENH : improved efficiency

as suggested by Li Li
Merge pull request #104 from tacaswell/bin_edges2centers

ENH : added bin edges -> bin centers function