The US president says he has “good feelings” that a new nuclear deal with Iran could work.