hot fixed super annoying error in ordering of state variables
Merge pull request #831 from scopatz/ord

hot fixed super annoying error in ordering of state variables