Add in-progress version of switching vector autoregressive code