Initializes a random vector.
The lower bound
The upper bound
The dimension of the vector, which can be 2, 3, or 4
Initializes a random vector.