Added option to rescale rewards.