result dictionary initialization
making framscan analysis work
Better plateau detection
Inverted region ordering. Now one with larger SNR is fitted first.