fix whitespaces to comply with pep8
fix pep8 whitespaces and line returns in model.py