Rename "reduce" to "submatrix" to avoid confusion with the programming concept of "reduce".