Import and use analysisCML class to compute stats; experiment with changing alpha (chaos level) to control spin transitions.
fixed self.iter bug, now it gives correct value was zero.
Got this working