Modelling Distributions of Distances to Nearest Neighbors