Matrix class, which supports addition, multiplication, and transposing. It also solves matrix equations.