Trying to find bug

(Seems to be in polar tranform/how it's handling rounding with non integer
pixel values...)