Merge pull request #1 from davharris/master

add a `predict` function
Prevent unnecessary copy of model traces

Also add some comments