Added docstring to confidence_interval