fix blending field to take user-defined parameter
corrected opacityMiddle calculation
Merge pull request #4 from stemkoski/patch-1

fix blending field to take user-defined parameter