Added option max_iter to KinSol interface with Joris.