Fixed CoverTree bugs; added SpaceTree and pruning; KNN, NearestNeighbor work