How do I convert a X,Y,Z coordinate to a vector with angles and length?