Kernel density estimation added