Computes the Euclidean norm (magnitude) of the vector.
the norm \(\|\mathbf{v}\| = \sqrt{x^2 + y^2}\)