Fixed the VG in ff_eam_dmd.cpp. Debugged ff_meam.cpp completely, checked, rechecked, triple checked.