Update stateAssign.m

Clean up typos