https://docs.scipy.org/doc/scipy/reference/optimize.root-lm.html https://en.wikipedia.org/wiki/Levenberg%E2%80%93Marquardt_algorithm