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