Modify emd_test to add support for 2d histograms and 2d emd calculations