enh: add static convenience function to get the x, y, z orientation angles from a transformation matrix