LU decomposition and power method