Source: https://www.msubillings.edu/asc/resources/math/calculators/pdf-89/C89-MatricesSolveSystemEquations.pdf