basecurve: fit our spline to the data.
basecurve: nicer plot and dump line for iop/basecurve.c into fit.dat