EMD HAT Distance

* A fast version of EMD imported