Add max time parameter to stop evolving after certain time instead of nu...

...mber of generations