add inv,triu,tril matrix commands