newton() prints more decimals.

Before:
>> newton(@sin,3,1e-7)
ans = 3.1416

After:
>> newton(@sin,3,1e-7)
ans = 3.141592653589793