Fixed point constants changed to macros to eliminate magic numbers, precision shifted from 16.16 to 12.20