A Scoring Method for Driving Safety Credit Using Trajectory Data