Text this: Computer modelling of the Theravadic Buddhist theory of thought processes