add kde.m (kernel density estimation via diffusion)