Topic diffxs and unfolding

Integrated optimization code and updated the opttree filler to dump std and decorrelated resolution estimators.

Not sure where the changes from @nchanon to the optimization code are. I though they were in this repository.