Fixed typo in documentation.
Fixed several errors in examples.
Merge pull request #424 from neformal13/master

Fixed typo in documentatin.