Refactored the functinos for path calculation for saved data.
Wrapped some code in a if (! is.na(energy)).
No longer need this file.
Added code to run all cases for X and U, too.
Removed -p. Better handling of models and energy types to avoid duplicating runs.