More efficient parentways
clean up parentWays
Merge pull request #388 from systemed/parentways

More efficient graph.parentWays