blasted numPoints
removed some print statements
misc cleanup