Add scipy distance functions