debugging PSF generatin, fixing focusing mode