Add ALGLIB conjugate gradient.
Refactor CG and LMA.
Refactor CG.
Merge pull request #63 from AlexanderFabisch/alglib-cg

Alglib cg