Deterministic MOSFET simulation using a generalized spherical harmonic expansion of the Boltzmann equation