Update EDIST.cpp