adding a new kernel and increasing dpKernel.cpp functionality