What is the "best" way to insert a row into an existing matrix.
Say I am looping through a matrix and I want to insert a row (or column) of elements because of some other criteria. Then continue to loop through the matrix, adding rows when required by the conditions set. What is the best way to do this?