Add code to store number of iterations

Add code to Model class to store number of iterations to convergence in
solve_period().