Statistical Analysis For Network Data Using Matrix Variate Models And Latent Space Models