Added iv snippet.
Added threx (throws Exception). Removed ending newline from trsv.