Griewank test function generator.
griewank_function(dimensions)
dimensions
Size of parameter space.
A soo_function.
soo_function