increase max_iter, include defect mode to extrapolate without testing for defects, and rewrote error messages to be more informative