Added the basic framework for the N-state model target function.
Authored by: bugman 2008-01-08
Parent: [r4497]
Child: [r4499]