sorted out full/partial evaluation of gradient, tensor, dtensor in model() arguments
Merge pull request #15 from fredo-dedup/master

sorted out full/partial evaluation of gradient, tensor, dtensor in model()