Adding some documentation of functionality, and some additional comments.
Adding ii to repo, for convenience. Removing swap files that were accidentally added.