chang the input of function addResidue and add a example with likage information in bracket2exact.m