Time series clustering with an EM algorithm for mixtures of linear Gaussian state space models. (June 2023)