newton optimization minimization root-finding levenberg-marquardt ipynb stochastic expectation-maximization gradient implementation conjugate-gradient optimization-algorithms newton-raphson descent gauss-newton-method gauss-newton root-finding-methods levenberg-marquardt-algorithm minimization-algorithm newton-raphson-algor...