weight_interval function

Weighting method: Width of intervals