Refactor indexes out of distance metrics.
At least one embedding shows promise!