Add fixed functions numRows and numCols.