Update cmaes.py

I don't believe the current version can have worked even on the simple sphere function (I didn't try though).