Added functions for population and sample standard deviation.