dist.point function

Compute distances of all points to a given point in the functional space