added sum and symmetric sum in linalg with eigen3 backend