fixed bug in nwkde partitioning code   removed recursive case since it was redundant anyways
fixed bug in nwkde partitioning code
  removed recursive case since it was redundant anyways

petabricks/petabricks,petabricks/petabricks,petabricks/petabricks,petabricks/petabricks,petabricks/petabricks