move makeTrafoFunction back to R directory and by the way fix an issue with it (it is needed by autoplot.exampleRun)