Implemented rotation around the Z axis