reward as a cosine curve