Adding trainNoisyChannel

Includes new code for trainNoisyChannel and modifications to
findEditOperation