Code for Gauss-Newton and conjugate-gradient inversion and optimization. See documents in doc/opt_package/ for a description of the design and API.