Dear all: I\'m trying to calculate the weighted distance from a set of points to a given point. The weighted distance function looks like the following.
The s