Implemented Kernel Density Estimator