segment_behavior function

Segmentation model to estimate breakpoints