The State-Space Integral Equation Approach to the Modelling of Scattering in Waveguides