forwards_backwards: Forward Backward for homogeneous MSAR models
Description
Computes the posterior (or smoothing) probabilities in an homogenenous HMM or MSAR model using the forwards backwards algo.
'filter_only' is an optional argument (default: 0). If 1, we do filtering, if 0, smoothing.