Added the possibility to associate more than one trend to an endogenous variable. The number of error correction equations is longer required to be equal to the number of trends.
The routine is still buggy. In PAC and VAR_EXPECTATION models we use get_companion_matrix_legacy routine instead.
Check the AR matrices.