populate

Adding the code of the fast computation of effective resitances.