Implement all of Jellyfish's distance metrics