fixed key bindings, removed curvature penalty, allowed user to set the n...

...umber of iterations