added newton's sqrt methos