4. finding sum, diff and trace of matrices