Since the gerund does not really have a subject, the past participle does NOT need to agree in gender and number, unless you are using:
/ :
Essendosi vestita, Maria era pronta per uscire.
Having dressed herself, Maria was ready to go out.
Ragazze, essendovi lavate le mani, potete prendere il pane.
Girls, since you washed your hands, you can take the bread.
:
Essendo stati chiamati dalla mamma, i bambini erano tornati a casa.
Having been called by their mother, the children went back home.
Essendo stata convocata per il colloquio, Francesca era felice.
Having been called for an interview, Francesca was happy.