Figure 5: Rastrigin function.