Renamed 'channel' to 'output'

Bringing code in line with nomenclature and documentation.