getMargsINLA function

function to extract marginals from INLA output