nCols and nRows now set in calculate_feature() so constructor takes the same format