WIP: kernel density estimation