fix style in newton.py

Pycharm is really amazing