simplified NelderMead and CMA_ES initialization, now using kwargs instead of a manually constructed dict