Adding more meaningful error message to inverse distance weights

Adding more meaningful error message to inverse distance weights when
distance between observations is zero.