mlp.py now pep8-clean