Found bug in contrastBrightness. Re-trying to compile with contrast alpha=1.25, and brightness offset of 32