Rounding interpolation weight when very close to 0 or 1 to avoid computing the interpolation.
Merge branch 'master' of https://github.com/ImageEngine/cortex