Motion Primitives Extraction and Regeneration Based on Real Driving Data