More changes to depvar.

Changes had to be made because there were problems with
depvars and mimicing. Hopefully this will fix it.