Fix standard deviation estimation.