Update README. Move plotting code out to an external file.