Implemented log_sum_2().