@Excellor: Thanks for introducing
WrapRows()
and WrapCols()
, I had never heard of those before. Unfortunately, those functions only work with one-dimensional vectors, not with 2D matrices.