I have a 2x2 matrix of lists. For example, the matrix I am working with looks like
matrix = {{{a,b,c}, {e,f,g}}, {{h,i,j}, {k,l,m}}}
I want to define a function such that when I pass this matrix to it, it gives me
{a+e+h+k,b+f+i+l,c+g+j+m}
Obviously a bruteforce way I could do this is to just take
matrix[[1, 1]] + matrix[[1, 2]] + matrix[[2, 1]] + matrix[[2, 2]]
But is there a more elegant approach to doing this using some built in functions in Mathematica? I tried looking around but I could not find one.