get_cf_sum_log_intens function

Calculate the log counterfactual densities