Support transforming a single point
Fix mistake
Add assert to test
Merge pull request #3866 from mdboom/transform-single-point

Regression in transforms: raises exception when applied to single point