Uncertainty in perception and the Hierarchical Gaussian Filter