Thanks vioscousflow for your reply!
In an X,Y,Z system, an arbitrary vector would have components: X=Z tan(a)sin(b), Y= Z tan(a)cos(b), Z = SQURT(X^2+Y^2)tan(a), where a is the angle between the vector and its horizontal projection, and b is the angle between the horizontal projection and...