implementing T-dependent diffusivity