Legendre moment method for calculating differential scattering cross sections from classical trajectories with Monte Carlo initial conditions