fix copy in StateMatrix
Merge branch 'hostfix/state_matrix' into develop