hand-tuned parameters by Ke
changed script to use tuned default parameters
added imagesc to show image at each iteration
changed error to relative error and upped max_iter to 40, used old params
merged yin to master