Constraining the columns of a Matrix

In reply to dave_59:

Then why not use just j instead of ,j in the foreach loop?