Implemented CSVWriter class intended to output data for plotting and analysis with advanced software, and did tons of tweaking, some refactoring, and some testing.