Fix rastrigin base evaluation