Hadi Matar has pleaded not guilty to charges of attempted murder and assault.