Haskell implementation of Powell's "dogleg" nonlinear optimization algorithm.