Split out most of the code from the tm0 grid system test script into a separate module.
This opt_tm_fns will be used for all of the model-free parameter grid system tests.
Authored by: bugman 2011-01-13
Parent: [r12270]
Child: [r12272]