Optim cg

This contribution aims to implement the Nonlinear Conjugate Gradient optimization algorithm for optim module.

This work is supported by Google within the Google Summer of Code 2013 initiative. Mentor: Vadim Pisarevsky.