fixed distance calculations and initialization
Merge branch 'master' of https://github.com/gauzy-gossamer/vptree