A Statistics Based Approach for Defining Reference Trajectories on Road Sections