Added an option to show residuals
Added an option to change the marker style for outliers
Started a function to correct poorly tracked curvature peaks