util for standard deviation.