Matrix Algebra and Invertibility Conditions for Linear Dynamic Stochastic General Equilibrium Models