Remove spacing in nested generics (old habits die hard)
Start nearest neighbor caluclation for kd tree