Updated documentation

Updated documentation to include syntax changes and new features.
PEP8 compliance

Removed a few bank lines for closer compliance to PEP8.