numVarInPattern method in KarnaughMapGrader is fixed. And input feature is added.