The Mind as a Predictive Modelling Engine: Generative Models, Structural Similarity, and Mental Representation.