Request for correction of "AxisAngleToEuler" Niagara function and addition of quaternion to Euler angle conversion module in Niagara function

The official Niagara Function Script “AxisAngleToEuler” is an erroneous Niagara function.
I hope the official can modify this function correctly.
I need to convert quaternions to Euler angles, but there is no such module in Niagara.
The only available function, AxisAngleToEuler, is incorrect.
So I had to write my own. I have tested the conversion code and it is correct:

defquaternion_to_euler(quaternion):

x = quaternion[0]
y = quaternion[1]
z = quaternion[2]
w = quaternion[3]

roll = atan2(2*(w*x + y*z), 1- 2*(x*x + y*y))
pitch = asin(2*(w*y - z*x))
yaw = atan2(2*(w*z + x*y), 1- 2*(y*y + z*z))
returnnp.array([roll, pitch, yaw])