Rebin xp,`yp` array to the output x array, weighting by 1/ye**2. xp can be irregularly spaced.
xp
1/ye**2
rebin_weighted_c()