Add model code
Merge branch 'master' of https://github.com/mfit/jamjump