adding modified kmer dist script from Quake