add L2DensityTransformer

Closes #4.