trying to fix occasional unit test failures due to stochastic nature of code by increasing number of iterations.
change semantics of MaxAttempts.  fix bug where it wasn't resetting the iteration counter when fitness improved.