calculate_cf function

Calculate case-finding effectiveness