First working version of the model
Add R files for report generation
Update R files
Fix nasty PBC bug