Find the magnitude of a 2D vector.
A vector's magnitude is its length, found the same way as the hypotenuse of a right triangle.
|v| = √(x² + y²)