finish StandardDeviation (including tests)