Added ability to get distances from a given observation to its neighbours