Higher quality scaling.
Merge pull request #4 from univerio/better_scaling

Higher quality scaling.