Subsampling and Distance Matrix