Adding some of the R scripts
Proving the tail behaviour claim