1. fixed one bug of MAMtlEnergyAD.h.
send a report to Prof. Huang.