Fixes SDM loopy import and moves Differentiable out of transforms

Fixes `SDM` loopy import by moving `Differentiable` out of `transforms` (which also plays better with the overall structure of the package)