DataSelection: Always transpose the data so that the channel axis comes last.
This addresses issue #867