Rotation along one axis.

I added an edit with the code