Tests and implementation of GPX ride 'smoothing'