Add keyword for the solver's callback function and maxiter.
Update test.
Add *pyc to .gitignore.