Parameterized BN nodes and cleaned up R Markdown document