Trafficmodel: some tweaks fixes for the way indices are search within gps speed function