Update persons_changed_state.m

Removed for loops