Added proper pruning of graphs/skeletons.
Fixes to pruning and the edge list for graphs.
Fixed connectivity issues with branches off the main length.