Changed parameter from a separate argument of the #confidence_interval() method to be part of the input hash