added control of max iterations and max functions eval to CMA-ES through wrapper