linear function

Perform linear time normalisation on trackdata.