Added y ties term to the confidence interval calculation.