why are the vector quantities magnitude and direction