added set method to variables

this was required so that the dfcp parameters didn't have to
be redefined between each iteration. alternative was to make
a wrapper that describes the model and reapplies it to the new
parameters after each iteration, but that seems like more work.