Big debugging of the N-state model setup, target, and gradient functions.
Authored by: bugman 2008-08-12
Parent: [r7167]
Child: [r7169]