Bayesian-analysis of Switching Regression-models