added geodesic distance similarity
preferential attachment added