Provides cg (conjugate gradients)

Closes #3