added polyfit to make another est on the diffusion.