added sum and squared sum methods in CKernel
Merge pull request #2169 from lambday/develop

added sum and squared sum methods in CKernel