adding diffusion and trajectory analyses