Numpy Nonlinear Fit Mathematica