Multidimensional spherical harmonics expansion of Boltzmann equation for transport in semiconductors