Added all pretraining functionality to the multiprocessing python script.  Ready to test on gravity.