Delete getStateSim.m