fixed up the wordnet files and fixed how distance is calculated
final cleanup of the kdtree files