using euclidean 1/r^2 weighted averaging