Speed up of row and column sums

o Using eval and numpy.sum for arbitrary summations across every axis