idw_interp function

Interpolate x to match mask y