Reorganize and package all conjugate gradient solvers

See #23.