Can now return marginals for specified varsets