add plot func and some edits
Merge branch 'master' of github.com:jaroyle/SCRbayes