Calculation of the psychomatrix using the Pythagorean system