Extending The Bayesian Dynamic Linear Model To Changepoint Problems