Numpy Nonlinear Fitting