stats functions: variance and standard deviation
Merge pull request #2667 from fabriziofortino/develop

stats functions: variance and standard deviation