New partition initialization

Now initializes the partition so that the state changes every time
there is an observed change in the binary switching functions.