fnArchiveF for a function fnconstruct wrapper fnArchiveF for a function fn
fnArchiveFactory(fn)function with vector argument x, should return a vector (obj,g1,g2,...,gn)
fnArchiveF, a function which is a wrapper for fn and stores as a side effect the argument x and
the return value of fn in soluArchive and funcArchive, resp. These archives can be
retrieved at any time with
(environment(fnArchiveF))$getSoluArchive() and
(environment(fnArchiveF))$getFuncArchive()