added the code to create the iterative accuracy data