General Cleanup and Prep for multiple potentials

trim: Moved range fix into its own method
trim: Moved electronic loss into its own method
trim_mybub: removed infoFile flag
simconf: created enum potentials and setup new flags pot_ff, pot_fg,
and pot_lat