Add ability to add a rv X that is a function of other rvs.
Merge branch 'master' of github.com:dit/dit