Removed some cruft, and added images.
Added some code for generating plots.