Ensure that IdentityTransform always returns an array.
Ensure that 'points' is an array to avoid errors when indexing (completes fix for #3809).
Even with the fix for single-point transforms (77ccc8230) it's better to ensure we have a 2D array to avoid further case distinctions below.
Add test for log transform.
Merge upstream master.
Since most transformation code assumes 2d input, convert the values to a 2d array before applying any transforms and then convert the result back to the original shape.
Support transforming scalars as some routines need this.
Merge pull request #3863 from maxalbert/fix_log_transforms

Fix log transforms (fixes #3809).