small comment format changes
commented aps code and added Matias' script to generate data files for input