Got DifferentiationProblem problem working. For the time being it only
generates very simple functions.