Update hog.Transform to new interface