more speedups to find_similar_people and calculate_similarities_from_person