Implemented log_sum_F().