Added stddev calculations