Made setState use a correct iterator in Output
Tried to fix concurrent errors in the circuit simulation
Included missing test method in the suite.
Fixed Circuit2D setComponentPosition to a null component.