Fixing numDiff