simplyfied am0 function adding, improved test code for am0, added am1_interpreter header