add a version of EMD using ground metric learned by LMNN