took out some cruft
made major analysis loop more pythonic
performance enhancements
removed extra files
Merge branch 'master' into intervals