Added error message when user attempts to perform Newton's method with x0 == 0