Title: Scattering Theory for Diffraction Gratings