Adding params to deal with multi-row data matrices.