Added global stats
Small edits
Small edits
Moved from folder to be able to import to ipython notebook