weight_outlier function

Weighting method: Down weighting outliers