fixed bug in ndarray-linear-interpolate