Moved RowMatrix to common