Add double transform

Fixes #44