implement standard deviation.