Added a load of print statements in matom.c, photon_gen.c and resonate.c to track macro atoms.