Wrote the CoM() method for the N-state model.
Authored by: bugman 2008-02-13
Parent: [r4968]
Child: [r4970]