Function FillMatrixRows(mA, r, num_rows, v)
Fills matrix rows with the given value starting at the given row