Fixed preprocessor method calculateNumRowsAndNumColumnsParameters