I removed the stateful aspect of segmentIndex.

segmentIndex is now a a parameter where it needs to be.

setDataBuffers in PS6000 does not takes a segment index but there is a
parameter there in the _lowLevel functions just to make it consistent