function which sums the vectors from the dataRecord to the neighbors implictly defined by the supplied dataMatrix and returns the length of this resulting neighborhood directionality normalized by the number of neighbors. Thus, this metric is primarily concerned with the symmetry of the neighbor distribution but also contains a contribution from the distance to each of the neighbors. In this form, a 2-norm is used to compute the distances.
measure the maximum distance between any one of the variables
s