Input States Xi Is Not A Matrix Or Cell Array