Added changes from ElementalX

We added code from ElementalX kernel to are new Smooth-Kernel.