Refractor - Newton's Method

Add const and changed order of functions so that the heavy hitters go
first.