Generalized the code for selecting the parameters for the different exponentials.
Authored by: semor 2011-06-17
Parent: [r13104]
Child: [r13106]