Fixed a few bugs

Still not correct (probably): 1. fixed patterns before converge 2.
never converge to the second NE