Updated EOF/stats analysis program. WIP.

Updated EOF/stats analysis program. Commented out a bunch of stuff I'm
not ready to deal with/get rid of yet; simplified code within the loops
a bit for readability (may also help me figure out how to deal with the
data issues). WIP.