<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def norm_vec(vector):
 """Normalize the length of a vector to one"""

    assert len(vector) == 3
    v = np.array(vector)
    return v/np.sqrt(np.sum(v**2))