adding first (very messy) version of parabola fit
updating code with Phil's (much improved) parabolic fit)
changes to allow parabolic fit as an option (off by default)