some gaussian psf functionality