sum of standard deviations formula