began adding damage quantification procedure, added computation of misc stats about line profiles and write to csvs