Rewrote KERNEL module code - added MercerKernel type