Bicubic scaling Optimization

Precomputing all the weights and inverse weight sums for all possible scaling types/factors. Yields a 2x to 3x performance improvement for both the SSE and plain C versions.