Bug fix: histogram was not using a channel number! --kazu