Update newton.m

Fixed Newton