Finally finished.
Added code for testing everything, and consoldating the files into
data friendly files that can be plotted.