restored pep8-cleanness of mlp.py