Added code based on the complexity for running multiple iterations of analysis on a given model.