added example of calculating shot noise in numpy