powered by
helper function for detection check
remove.extra.pts(pts, brk)
a vector of time points
the estimated change points
the true change points