Introduced the SpatialIndex interface. Incidentally added some VPTree docs.
Added docs for the SpatialIndex interface.
Added some more docs and a getter for the distance function.