cross validation and other changes
init pmaps to 1 channel, assert the right channel index in setupOutputs