segment_ga function

Segment a time series using a genetic algorithm