Two Applications of the TSP for Data Analysis