Modifications to make code pep8 compliant and removed functional.py from travis