Fixed bug with no background
For flipbit, isolated nodes have chance to flip
Added connected components neighbor checking
Stochastic successor also flips isolated nodes
Fixed bug for empty model files
Removed debug statement