in the middle of changing to only do one version of nearest neighbor per run of the code, still need to test naming stuff in plotting code