added initialization of fileoptions and new method of kdtree.build_tree. Still needs work.
updated the kdtree function leaves_within_distance to distance_search in gen.cpp.
Updated the FileOptions string in gen.cpp for the KDAdaptiveTree.
updated settings to FileOptions class for the KDTree initialization in arc.cpp. Also updated leaves_within_distance to distance_search.