add mean and stddev (for zscore calculations) to metadata