Added Euler. Also, 1-axis no longer passes inputs by reference, to protect the value of theta.