Merge pull request #2235 from lambday/feature/linalg

added rowwise and colwise sum methods in linalg
updated custom kernel sum methods with linalg sum methods