Normalize vector and also return the magnitude.
Vector2
v
out float
magnitude
This is more efficient than calculating the magnitude and normalizing separately
Vector3