Trafficmodel: Fixed a NullPointerError within GPS-MapMetric function