Changed add_delta to be produced by gendist rather than extracted from the AST
Cleaned up modifyAst since we no longer need the delta extraction
Modify corrective add_deltas to use the same code as regular add_deltas