Convert 3d Transforms to 2d Counterparts if 3d not supported

Added method to determine if 3d Transforms are supported.
Added a hook to replace 3d Transforms with their 2d counterparts if the
former are not supported.