promote integer input to transforms into floating point

Fixes #7.