State-Space Models With Regime Switching