Got revapp working correctly. Had to fix bugs in the fusion function and the constArg simplification function. Working on fission atm.