Vb code to do the minimum difference linear fit and cubic spline curve fit vb code, there are instructions