Version 1.1 pre-release

Revised for pep8 compliant.
Version 1.1 released

Modified code to meet the pep8 compliant and python best practice.