kernel density 1st draft