Made major design and functionality improvements to TTestPanel, which
can now calculate Confidence Intervals and output them. Some minor
refactoring.