The fixed-point transforms are much better, faster, and more accurate. Patch attached.