Estimating Variances and Covariances in a Non-stationary Multivariate Time Series Using the K-matrix