Computing vehicles velocity