Rastrigin test function generator.
rastrigin_function(dimensions)
dimensions
Size of parameter space.
A soo_function.
soo_function