Some macro atom logging changes, makefile updated to 76c_dev, newfile matom_diag