cmaes: added support for seed as an option + added example of a custom progress function