two different working versions of diffusion maps