minor bug fixes. Addin changepoint analysis