Calculate matrix addition, multiplication, determinants, transpositions, and inverse matrices for 2ร2 and 3ร3 arrays.