Added functionality to predetermine a number of +/-1 states manually