Kernel density estimation library