It is my belief that psychosis is the product of spiritual crisis. Humans are, fundamentally, mythological creatures - we have deeply-held beliefs and myths that guide our basic thinking, and we hold onto these firmly. When something challenges these fundamentals (usually some horrible trauma), we slip into spiritual crisis, our root becomes undone, and the mind attempts to reorganize.
During this period, the mythological root comes to the surface, is exposed, and explored and acted out through psychosis. This seems dangerous and alarming if we treat it as hallucination or nonsense, but is actually the mind seeking a healthier organization. A lot of the features of the psyche can be seen in the patterns of psychosis (the ego showing up as seeing yourself as Jesus/Metatron, etc.), which are quite regular if you read different people's experiences.
I don't know Kenneth, but I'll speculate on what happened here. Kenneth took a yoga class, met an amazing woman who took him on a magical journey of yoga, drugs and great sex. Poor robot Kenneth, who had been so sure he was a hard-edged science man, could not deal with this. My god, was there really something to the world of "woo-woo spirituality" that he had so derided? Could it really be a source of happiness and fulfillment?
This upended his belief system. Psychosis proceeded - the mind moved towards this new possibility, then away from it back to the familiar. No; Kenneth likes programming, and hates yoga, all is well.
Perhaps it had actually resolved by the time Kenneth started taking drugs; perhaps he has not resolved anything (I think neuroleptics prolong and interrupt this process, they certainly don't cure you).
This is an unconventional understanding of psychosis, but I believe this to be a better and more likely avenue for resolving crises than the "just shut up and take your pills" approach.