Added curve examples.
Merge branch 'master' into gh-pages