Trellisupdates

added callback functions to encoder, metrics, viterbi and viterbi combined blocks.