Create log10 function for chrome compatibility
Merge branch 'master' into gh-pages