Computes the magnitude (Euclidean norm) of the vector. The magnitude is calculated as the square root of the sum of the squares of the vector's elements.
The magnitude of the vector as a non-negative Double.