A hierarchical latent space network model for mediation. (30th June 2022)