Midway through fixing reconnecting lines to work for any number of points,
problems arising from assigning pointers to dummy points and subsequently
calculating mesh lengths etc.