Predictive Coding beyond Gaussian Distributions