Update rates by calling rate functions via Xptr.
CALL_RATE_FCN(rates, inds, state, parameters, constants, tcovar, rate_ptr)
vector of rates to be modified
logical vector of indices of rates to be modified
numeric vector of comaprtment counts
numeric vector of parameter values
numeric vector of constants
numeric vector of time-varying covariate values
external pointer to rate function