make church interface to physics more functional
Merge branch 'master' of https://github.com/probmods/chapters