Added diff() diff_loo_bw() and randint() function. See https://gist.github.com/Y4suyuki/6019165 and https://gist.github.com/Y4suyuki/6019366