Numerical Solution of the Boltzmann Equation I: Spectrally Accurate Approximation of the Collision Operator