Other species and distance metrics are much messier but I haven't really combed through everything yet...