Using the generalized Schur form to solve a multivariate linear rational expectations model