Calculates the norm (magnitude) of the vector.
The norm of the vector, which is the square root of the sum of the squares of its components.