calib_el function

An internal function for calibration of weights using empirical likelihood method