The scattering matrix for randomly oriented particles