Several changes to ncg.
Several changes to ncg.

- Removed a convergence criterium,
- Renamed some variables to names used in other optimizers,
- did some calculations only once.
superbobry/climin,gabobert/climin,tttthomasssss/climin,msoelch/climin,BRML/climin