Better handling of negative reaction barrier

1. Save t_final to the result file.
2. Modified the refinement behavior: now do the refinement even without global
   convergence.
3. Modified the treatment of reactions with negative barriers: now take the
   rates at the interval boundary.