Turned into a quickcheck test. Need to implement several optimizers, and test speed of convergence on wall clock.