generatePoints now returns list of sampleX and updated glist.  New issue is updateG not placing intersections and sorting correctly.