Calculate the confidence interval for a sample mean using sample size, standard deviation and confidence level (90%, 95% or 99%).