Kernel Density Function and Find implemented