simplify derivative expression in HatHermitePSF