A method of matrix inverse triangular decomposition based on contiguous principal submatrices