Ackley and Griewank fixes