segregmixEM function

ECM Algorithm for Mixtures of Regressions with Changepoints