Add passive dofs to DifferentiableFunction.
Add test for DifferentiableFunction
Fix bug in ConfigProjector