Fixed normalization to calculate EMD