Fixed existing examples, added some new ones.
Merge pull request #239 from awilliamson/examples

Fixed existing examples, added some new ones.