add more functions
add some docs, fix some warnings etc.
Merge branch 'master' into gh-pages
update compiled file