mean and standard deviation working