Script to supercede discretedotmesh and draw nicer boundaries