my new newton method, make sure I understand it