Added cases for let and letrec to the transform-input-function