Minor changes to the undirected partitioning module and related files.