Calculate the magnitude of a three-dimensional vector from its x, y, and z components.
Formula
|v| = √(x² + y² + z²)