This modifies the TMB object in place (beware!)
Ultimately this will allow terms
to be a vector of term names,
with a matching val
vector to specify the behaviour for each term
set_simcodes(g, val = "zero", terms = "ALL")
a TMB object
a legal setting for sim codes ("zero", "random", or "fix")
which terms to apply this to