Added a linear_solver option and theta option.