added zscore calculation, read in rewards