lagmatrix function

Create lags or leads of a matrix