Find inflection point if no relative maxima
Refactored region finding
Optimized initial parameters for region fitting
skip smoothing every time a region is created
Fix region bug when extending region resulted in out of bounds indices
When only one region is found then return it as a dictionary