debugged confInterval calculations