fix a leak in StdDev
rename StdDev to StDev, patch its leak