is it possible to use this for geospatial data by precomputing a distance matrix for lat-long values based on haversine distance?