Removed uncommented impl. of Newtons method