Heterogeneous adjoint sensitivities work now

I'd made a sign error in the formula previously.