Script and figure from plot3.
Added script and plot #4. Cleaned up scripts.