added row column to output for dot centroid locations.