added control of number of cmaes benchmark loops over functions