Adding SPAN iterator to matrix, in order to do efficient vector traversal (iterationg over all possible spans of the larger dimension) of multi-dimensional matrices