fixed code styling
changed repo url
moved legend text
Merge branch 'master' into gh-pages