Add new parameter to define the number of positions of a rotor