Bug fix for @devec_transform

My initial version only worked for variables named d. Hopefully, that's fixed, now. In the process, I wrapped the expression in a `let`, so temporaries from `gensym` don't pollute the main namespace.