Fix some small errors in the gallery examples.
Merge pull request #326 from ketch/fix_examples

Fix some small errors in the gallery examples.