Changes transform-function to enables GPU use.

Smooth!