added a temporary peice of junk code to save the state of individual domain_newton interations