half way through pep fixes
Fixed all pep errors, closes #37
Merge pull request #53 from jamiecurle/change-flow

All pep errors are fixed - should have changed PR title.