Major update to the code. Removed a lot of cruft that didn't need to be in the repo, added a lot of new scripts, example datasets, etc.