Didactic tool for matrix operations