Weighting by Inverse Distance with Adaptive Least Squares for