Try changing state ordering on matlab