Perform matrix operations including addition, subtraction, multiplication, determinant calculation, and matrix inversion.