Using the new OptimizationState() method.

Also adds LM to the run_tests script.
Merge pull request #11 from blakejohnson/levenberg-optimState

Use the new OptimizationState() method in levenberg_marquardt()