Tweaked gamma. Edit func and iters for speed.