Gas diffusion and molecular mass determination