A comprehensive model of ion diffusion and charge exchange in the cold io torus