Converted Matrix Algebra Example to Tex