Added the ref arg to the n_state_model.model() user function.
Authored by: bugman 2008-02-11
Parent: [r4943]
Child: [r4945]