Use of the discrete variable representation in the infinite order sudden approximation for reactive scattering