Adding the methods from #153
Work on #114: FunctionX => MiniboxedFunctionX

some tests are still failing :(