I need to convert quaternions (x, y, z, w) into spherical coordinates (1, ϑ, φ). I found a couple of solutions online, but none seem result in the correct values when I try it o