series_to_mvgam function

This function converts univariate or multivariate time series (xts or ts objects) to the format necessary for mvgam