merging my deterministic function changes with Sam's changes
Merge changes in ltmle.rd