small changes in get_PSF(...)