Update code documentation and autopep8
Merge pull request #52 from gary-pei/master

Update code documentation and autopep8