I suspect this is the working version.  Had to remove my penalty function because it was riding sensitivity.  Also got ride of resetting the initial guess. This parameter should be const. Finally, the attempt to make the error based on “misconformity” was not fruitful. Disabling this “feature”.