Fixing eps check in find_neighbors and adding in if check for visited_nodes in dbscan