A new version of the reactive infinite-order sudden approximation: The incorporation of optical potentials