Adds scatterplot_spec, fixes the output of scatterplot.
Adds two test files (one for data and one for latex) and adds some more details to the way scatterplot writes data.