DEMO: Implement demo for switching linear state-space model

Use monitoring during learning and utilize rotation speed-ups. In the
demo, a 1-D process switches between oscillation and random walk and
switching linear state-space model is used to learn the process.