fixed some confidence interval stuff