Fixed bug in Segmment.modify, asking for distance and duration in Segmment.last
Parsing and adding events to the current point