I am trying to To fit an ellipse through two given points and the gradient at these respective points. Therefore I have tried the scipy.optimize.broyden1() and broyden2 function