Modified the N-state model code to be more like the Frame Order matrix code.
Authored by: bugman 2009-07-12
Parent: [r9191]
Child: [r9193]