def normalize_vector(vector):
v = np.divide(vector, np.linalg.norm(vector))<EOL>return np.round(v, decimals=<NUM_LIT:4>)<EOL>
Normalize a vector.

A new vector is returned, the original vector is not modified.

Parameters
----------
vector : np.array
    The vector to be normalized.

Returns
-------
np.array
    The normalized vector.