Ensure that IdentityTransform always returns an array.
Ensure that 'points' is an array to avoid errors when indexing (completes fix for #3809).