Heat conductivity and viscosity of a gas of non-spherical molecules in a magnetic field