Fixes issue #373

If estimate_parameters was passed a range of 0 or 1, it would cause
strange errors, as it tried to fit a zero-sized range. This solution
assures a range of at least one for the two regions.