fixes and added tsp to the output from the basic plotting routines