Added the algorithm description to 4c
Added figures and R code
Fixed some parts in 4a that were not updated to match the code. Re-compiled the vignette after deleting the cache