Decompose a Vector into Two Orthogonal Vectors