Experimenting with sympy.Lambda and scipy.optimize.curve_fit