Added rotation in Z, with some bugs.
Broke Y and X rotation a bit.
Apparently not related to Z rotation feature. Good.