pep8 standards

code now up to pep8 standards

closes issue #12