Modified compute_mi and compute_ic only to compute the weights for edges that exist in the network.

That is, we only weight the structural network, and *do not* weight
every possible edge.