Wrote the n_state_model.model() user function for setting up the N-state model.
Authored by: bugman 2008-01-15
Parent: [r4705]
Child: [r4707]