Source: https://math.colorado.edu/~nita/SystemsofLinearEquations.pdf