Spectral Simulations of Electromagnetic Wave Scattering