Issue #32: fix residue according to the ISO standard.
Merge remote-tracking branch 'origin/master' into gh-pages
built demo