A computational account of the development and evolution of psychotic symptoms. Preprint in arXiv (April 2024)