Question on Equatorial and Galactic coordinate systems
Yes, because the Milky Way galaxy and the Earth's equator are in different planes, currently about 63 degrees apart. To avoid confusion, rename the galactic Cartesian coordinates to (u,v,w). The transformation from (u,v,w) to (x,y,z) can be expressed as multiplication by a rotation matrix.