Finding the Magnitude of a Vector