Vector Magnitude and Angle Calculation