Kernel function

Create a Kernel object from a function of distance from kernel center