Inference and learning algorithms for wireless iterative receivers