Added more simulation steps. Fixed a cnxn mismatch.