Tried changing how the position of the psf is calculated.