Python Solve Nonlinear System Of Equations