Calcukating vector