Added a cleaner version of clj-misc.matrix-ops/reduce-matrix.