Resultant vector and angle between vectors