Convert all remaining functions to use integers.
Use the numerator of the scaling fraction as the number of coefficients when both downscaling and upscaling.
Merge pull request #2 from Nebuleon/master

Convert all remaining functions to use integers.