[dev] Internal improvements to fermion_deriv_rel.