weight_select function

Tools for weighted calibrations