When using R the result of the Broyden optimization Function delivers the following result:
[8.023027e+06,1.416185e-0.02]
However when implementing the followi