Modernize and expand statistics notebook
Merge branch 'master' into gh-pages