random velocity vector for example 2.6