Cleaned up the files a bit, preparing to try out cython to generate train time histories.