code to support direct maximization of likelihood

This pull request has a new class to support direct maximization of the likelihood. It is needed to implement the iterative fitting method for seeding the coadd fits. See esheldon/gmix_meds#8.