Bugfix: rotation with 3 or more generators