cross validation for one category's distance.

need to figure out easy way to cross validate all the files in a folder