curve_fit for v15-18,31,32