added derivations for poisson distribution