added sum methods for CCustomKernel