fixed: dbm_energy.m