the next sequence get the partial or complete inverse depending of the first
for, if you run it for the n rows you will get the negative inverse of
your matrix B, if you run it for another number between zero and n, you
will get the partial inverse of your B matrix.
Orlando Ramirez Barron (2020). Inverse Matriz using Shipleys mathod. (https://www.mathworks.com/matlabcentral/fileexchange/60205-inverse-matriz-using-shipleys-mathod), MATLAB Central File Exchange. Retrieved .
took out an if sentence which wasnt doing anything