updated custom kernel sum methods with linalg sum methods
Merge pull request #2241 from lambday/feature/linalg

updated custom kernel sum methods with linalg sum methods