Changed vectorpairs_to_pointlist so that it now returns a list of lists.
Each list is a connected line, such that none of the vectorpairs were
removed.