#2797: Updated sample to change from Schwefel to Rastrigin (in the hope that it's numerically more stable)