Try calculating psi4 in a different way, see if that works.
NOTE: Not sure this is valid physics.