Working on background for docs.

Adding code to generate an animated gif demonstrating a Monte Carlo
rejection sampler. Also adding this gif and more text to the background
section of the documentation.