Fix standard deviation equation