Added distance plot, todo squaredistance!