signed_networks: link_prediction: link.py: memoizing matrix mult in hops_count_before_edge_vs_count