Using the Entropy of Curves to Segment a Time or Spatial Series