added some new routines which allow tracking of reconnection locations and stretching