Added support for exponential link weighting.