Global total least squares modeling of multivariable time series