In order to get the result we need to decompose the form factor written in scalar integrals \( \tilde{\mathcal {M}}_{her}^{Q^n}\)  in terms of Master Integrals, using the package Litered[1]}, as:
\(\tilde{\mathcal {M}}_{her}^{Q^n} \ =\ \sum _i C_iJ_i^{MI}\) 
