Add support for plots.
Close figs after each measurement since they're not automatically closed.
Add caching to measurement results
Merge pull request #24 from ShaneDrury/plotting

Plotting