http://gwydir.demon.co.uk/jo/probability/calcdice.htm