corrected sign on deltaErr
added option for endstop-only error estimate
seperated out common plotParabolicFit code