Update ImageContrast.java

math bug fixed.
Merge pull request #15 from croath/master

Update ImageContrast.java