update nmr template and potentials input routines to allow selection between different otfg packages.