Vector subtraction and magnitude