Code I made in Computational Linear Algebra, which is in MATLAB