getStDev finally working