Fixes to sCurveFitter to allow reversed s-curves
Add config option to reverse s-curve orientation. Also removes the requirement that the last bin be non-empty to perform fits (totally removed this check for now, need to see where it should be applied).
Fix scan code so that analysis config is loaded regardless of how the array is defined in scan config.