Trigonometri, Transformasi Geometri, Vektor