Finding the mean and standard deviation