removed the bug in the state space generation of the aggregated model