Approximating the Mathematical Structure of Psychodynamics