Jeremy's updates to ST_Transform code