Newton's method in raymarching code.