Changed style, and edited the code for confidenceInterval