calculate 2*stddev