http://robotics.stanford.edu/~rubner/emd/default.htm