CaseSummary Optimization

Combined several similar functions in the CaseSummary model class to
reduce redundancy.