Work on plotting, and distance measures