add AME.m and run_AME.m