Added implementation for getting mean and standard deviation.