Failed attempt to add endpt to TSP. Added some additional error checking to TSP args.