ENH : bin_edeges helper function

Adds helper function + tests for generating bin edges from
any sub-set of the maximum, minimum, step, and number of bins.
I think you either meant that `The minimum must be greater than the maximum` or `The minimum must be less than the maximum`