Gauss-Jordan eliminations