Converting between the Cartesian tensor and spherical harmonic expansion of solutions to the Boltzmann equation. (21st October 2022)